package com.seveneight.baijiesteward.base;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/12/8.
 */

public class MessageBean implements Serializable {
    private int type;
    private int pos;
    private Object data;
    private String str;

    public MessageBean(int type, int pos){
        this.pos = pos;
        this.type = type;
    }

    public MessageBean(int type, Object data){
        this.data = data;
        this.type = type;
    }

    public MessageBean(int type, int pos, Object data) {
        this.pos = pos;
        this.type = type;
        this.data = data;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
